<layout name="../../../resource/master"/>
<section class="scrollable padder">

    <ul class="breadcrumb no-border no-radius b-b b-light pull-in">
        <li><a href="#"><i class="fa fa-home"></i> 首页</a></li>
        <li><a href="">分类管理</a></li>
        <li class="active">添加子集分类</li>
    </ul>

    <section class="panel panel-default">
        <header class="panel-heading font-bold">
            添加子集分类
        </header>

        <div class="panel-body">
            <form class="form-horizontal" id="form" method="post">
                <div class="form-group">
                    <label class="col-sm-2 control-label"></label>
                    <div class="col-sm-5"></div>
                </div>

                <div class="form-group">
                    <label class="col-sm-2 control-label">分类名称</label>
                    <div class="col-sm-5">
                        <input type="text" name="cname" required="" class="form-control" placeholder="">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">所属分类</label>
                    <div class="col-sm-2">
                        <select name="pid" class="form-control input-sm">
                            <option value="{$dd['cid']}">{$dd['cname']}</option>
                            <!--<option value="12">上衣</option>-->
                            <!--<option value="13">裤子</option>-->
                        </select>
                    </div>
                </div>
.           <div class="form-group">
                <label class="col-sm-2 control-label">所属类型</label>
                <div class="col-sm-2">
                    <select name="tid" class="form-control input-sm">
                        <volist name="dda" id="vo">
                        <option value="{$vo['tid']}">{$vo['tname']}</option>
                        </volist>
                    </select>
                </div>
            </div>


                <div class="form-group">
                    <label class="col-sm-2 control-label">分类排序</label>
                    <div class="col-sm-5">
                        <input type="text" name="sort" required="" class="form-control" placeholder="请填写1到65535的排序数字">
                    </div>
                </div>

                <div class="form-group"><label class="col-sm-2 control-label">是否显示</label>
                    <div class="col-sm-10">
                        <label>
                            是：	<input type="radio" value="1" name="is_show" ><i></i>
                        </label>
                        <label>
                            否:     <input type="radio" value="2" name="is_show" ><i></i>
                        </label>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-sm-2 control-label"></label>
                    <div class="col-sm-5"></div>
                </div>



                <div class="form-group">
                    <div class="col-sm-4 col-sm-offset-2">
                        <!--<input type="hidden" name="pid" value="58">-->
                        <button class="btn btn-primary" id="btn" type="submit">确定添加</button>
                    </div>
                </div>
            </form>
        </div>
    </section>
</section>